package com.train.mapper;

import com.train.pojo.po.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    /**
     * @param phone
     * @param:phone
     * @Desc:根据用户电话号码查询用户记录
     * @author：王佳驹
     * @date：2025/05/12
     */
    @Select("select * from user where phone =#{phone}")
    User selectByPhone(String phone);
}
